package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验设备管理对象 ex_equipment_management
 * 
 * @author ruoyi
 * @date 2024-09-28
 */
public class ExEquipmentManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String equipmentNum;

    /** 所属实验室 */
    @Excel(name = "所属实验室")
    private String affiliatedLaboratory;

    /** 设备使用规定 */
    @Excel(name = "设备使用规定")
    private String equipmentUsageRegulations;

    /** 附件url(多个用逗号隔开) */
    @Excel(name = "附件url(多个用逗号隔开)")
    private String attachmentUrl;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String attachmentNames;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String creatorName;

    /** 创建人id */
    @Excel(name = "创建人id")
    private String creatorId;

    public String getAttachmentNames() {
        return attachmentNames;
    }

    public void setAttachmentNames(String attachmentNames) {
        this.attachmentNames = attachmentNames;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentNum(String equipmentNum) 
    {
        this.equipmentNum = equipmentNum;
    }

    public String getEquipmentNum() 
    {
        return equipmentNum;
    }
    public void setAffiliatedLaboratory(String affiliatedLaboratory) 
    {
        this.affiliatedLaboratory = affiliatedLaboratory;
    }

    public String getAffiliatedLaboratory() 
    {
        return affiliatedLaboratory;
    }
    public void setEquipmentUsageRegulations(String equipmentUsageRegulations) 
    {
        this.equipmentUsageRegulations = equipmentUsageRegulations;
    }

    public String getEquipmentUsageRegulations() 
    {
        return equipmentUsageRegulations;
    }
    public void setAttachmentUrl(String attachmentUrl) 
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl() 
    {
        return attachmentUrl;
    }
    public void setCreatorName(String creatorName) 
    {
        this.creatorName = creatorName;
    }

    public String getCreatorName() 
    {
        return creatorName;
    }
    public void setCreatorId(String creatorId) 
    {
        this.creatorId = creatorId;
    }

    public String getCreatorId() 
    {
        return creatorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentNum", getEquipmentNum())
            .append("affiliatedLaboratory", getAffiliatedLaboratory())
            .append("equipmentUsageRegulations", getEquipmentUsageRegulations())
            .append("attachmentUrl", getAttachmentUrl())
            .append("creatorName", getCreatorName())
            .append("creatorId", getCreatorId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
